﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.Model
{
    [Table("category")]
    public class Category : BaseUserModel
    {
        public int ProjectId { get; set; }
        public int ReallyId { get; set; }
        public int ParentId { get; set; } = 0;
        [MaxLength(100)]
        public string Name { get; set; }
        public int UserId { get; set; }
    }
}
